# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
_pyname=trivup
pkgname=py3-$_pyname
pkgver=0.9.0
pkgrel=1
pkgdesc="Trivially Up a cluster of programs, such as a Kafka cluster"
url="https://github.com/edenhill/trivup"
arch="noarch"
license="BSD-2-Clause"
depends="python3 py3-requests"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/t/trivup/trivup-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="0a799c20e8b4873af74b6d78477eccd2586710c21c94eff87947cc82b30b3a517dcddf57b80bac0cee0d7b1c9a571f6427e5b772f84fcb9bb68dfd44cb200062  trivup-0.9.0.tar.gz"
